/*
 *  This file is part of Fax .NET.
 *
 *  Fax .NET is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published by
 *  the Free Software Foundation.
 * 
 *  Fax .NET is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 * 
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with Fax .NET.  If not, see <http://www.gnu.org/licenses/>.
 */

using System;

namespace Tourreau.Gilles.FaxDotNet
{
    /// <summary>
    /// Represents a fax type job.
    /// </summary>
    public enum FaxJobType
    {
        /// <summary>
        /// The job type is unknown. This value indicates that the fax server has not yet scheduled the job.
        /// </summary>
        Unknown = 0,

        /// <summary>
        /// The job is an outgoing fax transmission.
        /// </summary>
        Send = 1,

        /// <summary>
        /// The job is an incoming fax transmission.
        /// </summary>
        Receive = 2,

        /// <summary>
        /// The fax server tried to route the fax transmission, but routing failed. The fax server will attempt to route the job again.
        /// </summary>
        Routing = 3,

        /// <summary>
        /// The fax server did not route the fax because it did not receive the entire transmission. The fax server saves the partial transmission in a temporary directory.
        /// </summary>
        FailReceive = 4
    }
}
